#ifndef EGG_AABBENTITY_H
#define EGG_AABBENTITY_H

#include "ShapeEntity.h"
#include "GeometryLib.h"
#include "ShaderLib.h"

namespace egg{

    class AabbEntity:public ShapeEntity{
    public:
        AabbEntity();
        void setAabb(const Aabb& box);
        void setColor(const vec4& rgba);
        void _draw(const FrameEvent& evt);
    protected:
        NumericParamPtr mColor;
        NumericParamPtr mLength;
        NumericParamPtr mCenter;
    };

}

#endif